show ip nat rule statistics

show ip nat rule {rule_name} statistics {no-refresh}

Description

Shows statistics IP Network Address Translation (NAT) statistics (byte/packet counters) in the outward direction.

Syntax Description

ip Specifies Internet Protocol (IP).
nat Specifies NAT.
rule Specifies NAT rules.
rule_name Specifies displaying statistics only for the specified NAT rule.
statistics Specifies showing IP NAT rule statistics.
no-refresh Specifies displaying page-by-page without auto-refresh.

Default

N/A.

Usage Guidelines

Example

The following example shows NAT statistics in the outward direction:

# show ip nat rule statistics
NAT Rule Statistics                                      Sat Sep 11 16:27:23 2019
NAT Rule Name                                 Tx Packet                Tx Byte
================================  =====================  =====================
nat59                                              2168                 138752
nat60                                              2168                 138752
nat61                                              2168                 138752
nat62                                              2168                 138752
nat63                                              2168                 138752
nat64                                              2168                 138752
nat65                                              2168                 138752
nat66                                              2168                 138752
nat67                                              2168                 138752
nat68                                              2168                 138752
nat69                                              2168                 138752
nat70                                              2168                 138752
nat71                                              2168                 138752
nat72                                              2168                 138752
nat73                                              2168                 138752
nat74                                              2168                 138752
nat75                                              2168                 138752
nat76                                              2168                 138752
nat77                                              2168                 138752
==============================================================================
          0->Clear Counters  U->page up  D->page down ESC->exit

History

This command was first available in ExtremeXOS 31.2.

Platform Availability

This command is available on the switches that support the IP NAT feature. For information about which switches support this and other features, see the Switch Engine v33.1.1 Licensing Guide document.